package com.cloudxingkong.dianyinke.NewTeacher.Utils;

import android.app.Activity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by LeeQ on 2016-5-11.
 */
public class SysExitUtil {
    public static List<Activity> activityList=new ArrayList();

    public static void exit(){
        int size=activityList.size();
        for (int i = 0; i < size; i++) {
            if (activityList.get(i) != null) {
                activityList.get(i).finish();
            }
        }
    }
}
